<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>{block name="title"}{/block}</title>
  <link rel="stylesheet" href="__STATIC__/css/admin/nav.css">
  <link href="__STATIC__/css/bootstrap.min.css" rel="stylesheet">
  <link rel="stylesheet" type="text/css" href="__STATIC__/css/admin/form.css">
  <script type="text/javascript" src="__STATIC__/js/jquery-3.3.1.min.js"></script>
  {block name="css"}{/block}
</head>
<body>

<script type="text/javascript">
        function doing(){
               return true;
        //密码长度为6-18个字符
           // 用户名3-15个字符
           var usrn = $('#username').val();
           var pwdn = $('#password').val(); 
           if (usrn.length < 3 || usrn.length > 15 || pwdn.length < 3 || pwdn.length > 18){
               return false;
           }else{
               // $('.login-form').submit();
           }
        }
        $(function(){
        });
</script>


<div class="header">
    {include file='common/nav' /}
</div>


<div class="mob-page-login">
	<div class="page-content">
		<div class="center-content register-content">
			<h1>{block name="subTitle"}{/block}</h1>
			<div class="tips" style="height: 42px;">
		    	<div class="alert">*相片链接不能为空</div>
			</div>
    		<div class="login-content">
                <form method="POST" action="{block name="action"}{/block}" accept-charset="UTF-8" class="login-form mob-form" onsubmit=""><input name="_token" type="hidden">
                	<div class="mob-input-content">     
                        <!-- {volist name='list' id='photo'}           -->
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-user"></i>
                        	</label>
                        	<input type="text" class="mob-input" placeholder="请输入照片名称" id="name" name="name" value="{$photo.name}">
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-usrn">
                                    请输入照片名称
                            </span>
                    	</div>
                   		<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="link" id="link" class="mob-input" placeholder="请输入链接" value="{$photo.link}">
                        	<span class="imsg msg-info">
                                <span>请输入链接</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="small_link" id="small_link" class="mob-input" placeholder="请输入缩略图的后缀" value="{$photo.small_link}">
                        	<span class="imsg msg-info">
                                <span>请输入缩略图的后缀</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="type" id="type" class="mob-input" placeholder="请输入照片类型" value="{$photo.type}">
                        	<span class="imsg msg-info">
                                <span>请输入照片类型</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="address" id="address" class="mob-input" placeholder="请输入照片拍摄城市" value="{$photo.address}">
                        	<span class="imsg msg-info">
                                <span>请输入照片拍摄城市</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="device" id="device" class="mob-input" placeholder="请输入拍摄照片的设备" value="{$photo.device}">
                        	<span class="imsg msg-info">
                                <span>请输入拍摄照片的设备</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>
                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="time" id="time" class="mob-input" placeholder="请输入照片拍摄时间,格式 20160606 / 201606" value="{$photo.time}">
                        	<span class="imsg msg-info">
                                <span>请输入照片拍摄时间,格式20160606/201606</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>

                    	<div class="input-group">
                        	<label class="input-label">
                            	<i class="glyphicon glyphicon-lock"></i>
                        	</label>
                        	<input type="text" name="note" id="note" class="mob-input" placeholder="请输入照片备注" value="{$photo.note}">
                        	<span class="imsg msg-info">
                                <span>请输入照片故事</span>
                            </span>
                        	<span class="msg-success imsg">&nbsp;</span>
                        	<span class="imsg msg-error msg-pwd">
                                <span></span>
                            </span>
                    	</div>

                        <!-- {/volist} -->
                    	<div class="input-group">
                        	<label class="input-label"></label>
                        	<button class="mob-btn-origin mob-btn" onclick="return doing()">
                                <i class="anim"></i>
                                {block name="submitName"}{/block}
                            </button>
                    	</div>
                	</div>
                </form>
            </div>
        </div>
	</div>
</div>


<footer>
{include file='common/footer' /}
</footer>



</body>
</html>